<!DOCTYPE html>
<html lang="zh-cmn-Hans" class="wide wow-animation smoothscroll scrollTo">
  <head>
    {template "layouts","header"}
  </head>
  <body>
    <!-- Page-->
    <div class="page text-center">
      <!-- Page Header-->
      <header class="page-head">
        {template "layouts","navbar"}
      </header>
      {template "layouts","breadcrumb"}

      <!-- Page Content-->
      <main class="page-content">
        <!-- Masonry Blog-->
        <!-- <div id="fb-root"></div> -->
        <section class="section-98 section-sm-110">
          <div class="shell">
            <div class="range range-xs-center">
              <div class="cell-md-10 cell-lg-8">
                <div data-type="horizontal" class="responsive-tabs responsive-tabs-classic">
                  <ul class="resp-tabs-list text-center tabs-group-default">
                    {loop subcat($CAT['parentid']) $r}
                    <li {if ($catid==$r['catid'])}class="resp-tab-active"{/if}>
                      <a href="{$r['url']}">{$r['catname']}</a>
                    </li>
                    {/loop}
                  </ul>
                </div>
                <!-- photo grid -->
                {pc:content action="lists" catid="$catid" num="9" siteid="$siteid" order="listorder DESC" page="$page"}
                <div class="range offset-top-0">
                  {loop $data $r}
                  <div class="cell-xs-8 cell-sm-7 cell-md-4 offset-top-30">
                    <figure class="thumbnail-josip odd"><a href="{$r['url']}">
                      <img width="270" height="270" src="{$r['thumb']}" alt=""/></a>
                      <div class="thumbnail-desc">
                        <h5 class="thumbnail-josip-title text-bold text-white">{$r['title']}</h5>
                        <p class="veil reveal-md-block text-italic text-white offset-top-0">{$r['description']}</p>
                      </div>
                      <figcaption><a href="{$r['url']}" class="btn btn-block btn-rect text-md-left btn-java">查看详细</a></figcaption>
                    </figure>
                  </div>
                  {/loop}
                </div>
                <div class="offset-top-20 text-center">
                  <hr class="text-subline">
                  {$pages}
                </div>
                {/pc}
              </div>
              <!-- aside bar -->
              <div class="cell-sm-10 cell-md-8 cell-lg-4 offset-top-66 offset-md-top-90 offset-lg-top-0">
                <div class="blog-grid-sidebar inset-lg-left-30">
                  <!-- Aside-->
                  <aside class="text-left">
                    <!-- Search in Blog-->
                    <div>
                      {template "layouts","c_search"}
                    </div>
                    <!-- keywords-->
                    <div class="offset-top-30 offset-md-top-60">
                      {template "layouts","keyword"}
                    </div>
                    <div class="offset-top-30 offset-md-top-60">
                      {template "layouts","hits"}
                    </div>
                  </aside>
                </div>
              </div>
            </div>
          </div>
        </section>
      </main>
      {template "layouts","footer"}
    </div>
    {template "layouts","global"}
    {template "layouts","javascript"}

  </body>
</html>
